<?php

/**
 * UserGroups table class
 *
 * @package    Joomla.Tutorials
 * @subpackage Components
 * @link http://dev.joomla.org/component/option,com_jd-wiki/Itemid,31/id,tutorials:components/
 * @license		GNU/GPL
 */

// no direct access
defined('_JEXEC') or die('Restricted access');

/**
 * UserGroups Table class
 *
 * @package    Joomla.Tutorials
 * @subpackage Components
 */
class TableAssets extends JTable {
	var $id = null;

	var $name = null;

	var $description = null;

	var $assetgroup_id = null;

	var $img = null;

	var $color = null;

	var $code = null;

	var $assetgroups_name = null;

	/**
	 * Constructor
	 *
	 * @param object Database connector object
	 */
	function TableAssets(& $db) {
		parent :: __construct('#__jbschedule_assets', 'id', $db);
	}

	function getErrorMsg() {
		return "Error Saving Assets record!";
	}
}
?>
